package com.feri.redromance01.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @autor wfl
 * @time 2022/8/29
 */
@Data
public class VipInfo {
    private Integer id;
    private String name;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd") //返回
    @DateTimeFormat(pattern = "yyyy-MM-dd") //接收
    private Date birthday;
    private String info;
    private Integer flag; //vip用户状态
}
